package com.zhongli.devplatform.mapper.grade;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongli.devplatform.po.common.ReadGradePO;
import com.zhongli.devplatform.query.sys.GradeQuery;
import com.zhongli.devplatform.vo.common.GradeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/7/23 10:12
 */
@Mapper
public interface ReadGradeMapper extends BaseMapper<ReadGradePO> {
    List<GradeVO> getAllGradeByTeacherId(@Param("currentTeacherId") Integer currentTeacherId, @Param("gradeQuery") GradeQuery gradeQuery);
}
